package com.zhoutao.blog.seven.dao.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 数据数据库模型
 */
@Data
@TableName("book")
public class BookDao {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String bookKey;

    private String bookName;

    private String coverUrl;

    private String remark;

    private Integer readCount;

    private Integer ordinal;

    private LocalDateTime createdAt;

    private LocalDateTime updatedAt;

}
